/*
   Copyright 2011-2012 Lukas Vlcek

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*/

html {
    overflow: -moz-scrollbars-vertical;
    overflow-y: scroll;
}

body {
    /*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/
    line-height: 1.3;
}

.row.newSection {
    border-top: 1px solid #9bf;
}

.container p {
    color: #777;
    /*line-height: 100px;*/
    /*background: #000;*/
    /*text-align: center;*/
    margin: 15px 0 10px 0;
    font-family: sans-serif;
    /*font-size: 14px;*/
}

h2 {
    color: #0055ff;
    margin-bottom: 10px;
    font-family: serif;
    font-size: 16px;
    font-weight: bold;
}

h3 {
    color: #555;
    font-size: 85%;
    margin-top: 9px;
    margin-bottom: 5px;
    font-weight: bold;
}

.invisible p {
    display: none;
}

.connectionPanel {
    padding: 3px 0 3px 0;
    color: #555;
    background-color: #eee;
    border-bottom: 1px solid #aaa;
    white-space: nowrap;
}

.connectionPanel.settings {
    background-color: #d6d6d6;
}

.connectionPanelSection {
    border-right: 1px solid lightgray;
    padding: 0 5px 0 7px;
}

.connectionPanelSectionWithoutDecoration {
    padding: 0 2px 0 7px;
}

#clusterHealth {
    /*border: 1px solid black;*/
}

#clusterNodes {
    /*border: 1px solid blue;*/
}

#selectedClusterNode p {
    /*border: 1px solid blue;*/
}

.clusterNode {
    border: 1px solid black;
    margin: 0 4px 4px 0px;
    padding: 2px 5px 2px 5px;
    cursor: pointer;
    float: left;
}

.clusterNode:hover {
    background-color: #d1d1d1;
}

.clusterNode.selectedNode {
    background-color: lightgray;
    color: white;
}

.masterNode {
    padding-left: 20px;
    /*background: url("../images/award_star_gold.png") no-repeat 1px 3px;*/
}

.clusterStatus {
  padding: 1px 2px;
}
.clusterStatus.red {
  background-color: red;
  color: white;
}
.clusterStatus.yellow {
  background-color: yellow;
}
.clusterStatus.green {
  background-color: green;
  color: white;
}

/* TODO css for chart, move it into different file */
.line {
    fill: none;
    stroke: #000;
    stroke-width: 1px;
}

.area {
    fill: #969696;
}

/* Courtesy of Jeff Starr, http://perishablepress.com/wrapping-content/ */
span.pre {
    white-space: pre;           /* CSS 2.0 */
    white-space: pre-wrap;      /* CSS 2.1 */
    white-space: pre-line;      /* CSS 3.0 */
    white-space: -pre-wrap;     /* Opera 4-6 */
    white-space: -o-pre-wrap;   /* Opera 7 */
    white-space: -moz-pre-wrap; /* Mozilla */
    white-space: -hp-pre-wrap;  /* HP Printers */
    word-wrap: break-word;      /* IE 5+ */
}

label {
    cursor: pointer;
}

.center {
    text-align: center;
}
